package cn.me.alphamq.common.entity.req;

import cn.me.alphamq.common.entity.BaseMsg;

/**
 * 从 broker 更换连接的主 broker 的请求，来自 nameserver
 *
 * @author f
 */
public class ChangeMasterReq extends BaseMsg {

    /**
     * 新的主 broker 的地址
     */
    private String newMasterAddress;

    public ChangeMasterReq() {
    }

    public ChangeMasterReq(String newMasterAddress) {
        this.newMasterAddress = newMasterAddress;
    }

    public String getNewMasterAddress() {
        return newMasterAddress;
    }

    public void setNewMasterAddress(String newMasterAddress) {
        this.newMasterAddress = newMasterAddress;
    }
}
